package ru.spies.content;

public class CurrentButtonClass {
	
	private static CurrentButtonClass statThis=null;
	
	public static String ACTIVE_MENU_BUTTON = "activeBtnMenu";
	public static String MENU_BUTTON = "menuBtn";
	public static String LINK_PANEL_ACTIVE = "linkPanelActive";
	public static String LINK_PANEL = "linkPanel";
	
	private static String BTN_HOME = ACTIVE_MENU_BUTTON;
	private static String BTN_NEWS = MENU_BUTTON;
	private static String BTN_SYSTEM = MENU_BUTTON;
	private static String BTN_LOGIN = MENU_BUTTON;
	private static String BTN_ABOUT = LINK_PANEL;
	private static String BTN_LAST_UPDATES= LINK_PANEL;
	private static String BTN_MAP = LINK_PANEL;

	private CurrentButtonClass() {
		
	}
	
	public static CurrentButtonClass getInstance(){
		if (statThis==null){
			statThis=new CurrentButtonClass();
		}
		return statThis;
	}
	
	public void setButtonHomeClass(String classBtn){
		BTN_HOME=classBtn;
	}
	
	public String getButtonHomeClass(){
		return BTN_HOME;
	}

	public void setButtonNewsClass(String classBtn){
		BTN_NEWS=classBtn;
	}
	
	public String getButtonNewsClass(){
		return BTN_NEWS;
	}
	
	public void setButtonSystemClass(String classBtn){
		BTN_SYSTEM=classBtn;
	}
	
	public String getButtonSystemClass(){
		return BTN_SYSTEM;
	}
	
	public void setButtonLoginClass(String classBtn){
		BTN_LOGIN=classBtn;
	}
	
	public String getButtonLoginClass(){
		return BTN_LOGIN;
	}
	
	public void setButtonAboutClass(String classBtn){
		BTN_ABOUT=classBtn;
	}
	
	public String getButtonAboutClass(){
		return BTN_ABOUT;
	}

	public void setButtonLastUpdatesClass(String classBtn){
		BTN_LAST_UPDATES=classBtn;
	}
	
	public String getButtonLastUpdatesClass(){
		return BTN_LAST_UPDATES;
	}

	public void setButtonSiteMapClass(String classBtn){
		BTN_MAP=classBtn;
	}
	
	public String getButtonSiteMapClass(){
		return BTN_MAP;
	}
	
	public void resetAllButtons(){
		BTN_HOME = MENU_BUTTON;
		BTN_NEWS = MENU_BUTTON;
		BTN_SYSTEM = MENU_BUTTON;
		BTN_LOGIN = MENU_BUTTON;
		BTN_ABOUT = LINK_PANEL;
		BTN_LAST_UPDATES= LINK_PANEL;
		BTN_MAP = LINK_PANEL;

	}
	
}
